<div id="project_edit" class="pd-m">
	<div class="panel">
		<div class="edit_proj_panel form_panel">
			<h1 class="form_title">项目基本信息</h1>
			<div class="form_body">
				<div class="form_item">
					<span class="form_key">项目名称</span>
					<input class="form_input" type="text" placeholder="项目名称">
				</div>
				<div class="form_item">
					<span class="form_key">项目图片</span>
					<div>
						<img class="form_img_s" ng-click="selectImageFile();" ng-src="{{imageSrc}}"/>
						<input type="file" id="image_file" image-model="myFile" class="hide"/>
					</div>
				</div>
				<div class="form_item">
					<span class="form_key">团队规模</span>
					<div class="form_select">
					    <ui-select ng-model="teamScale.selected">
						  <ui-select-match placeholder="选择团队规模">{{$select.selected.name}}</ui-select-match>
						  <ui-select-choices repeat="item in teamScales | filter: $select.search">
						    <div ng-bind-html="item.displayValue | highlight: $select.search"></div>
						  </ui-select-choices>
						</ui-select>
					</div>
				</div>
				
				<div class="form_item">
					<span class="form_key">成立时间</span>
					<div ng-controller="DatepickerCtrl" class="form_date_group">
					    <input type="text" class="form_date"
					     datepicker-popup="{{format}}" 
					     ng-model="dt" is-open="opened" datepicker-options="dateOptions" 
					     ng-required="true" close-text="Close" />
					    <span>
		                	<button type="button" class="icon_button form_icon" ng-click="open($event)">
		                		<i class="glyphicon glyphicon-calendar"></i>
		                	</button>
		              	</span>
					</div>
				</div>
				
				<div class="form_item">
					<span class="form_key">所在行业</span>
					<div class="form_select">
					    <ui-select ng-model="person.selected">
						  <ui-select-match placeholder="选择所在行业">{{$select.selected.name}}</ui-select-match>
						  <ui-select-choices repeat="item in people | filter: $select.search">
						    <div ng-bind-html="item.name | highlight: $select.search"></div>
						  </ui-select-choices>
						</ui-select>
					</div>
				</div>
				
				<div class="form_item">
					<span class="form_key">项目阶段</span>
					<div class="form_select">
					    <ui-select ng-model="stage.selected">
						  <ui-select-match placeholder="选择项目阶段">{{$select.selected.name}}</ui-select-match>
						  <ui-select-choices repeat="item in stages | filter: $select.search">
						    <div ng-bind-html="item.displayValue | highlight: $select.search"></div>
						  </ui-select-choices>
						</ui-select>
					</div>
				</div>
				
				<div class="form_item">
					<span class="form_key">项目简介</span>
					<textarea class="form_textarea" placeholder="输入项目简介"></textarea>
				</div>
			</div>
		</div>
		
		<div class="edit_prod_panel form_panel">
			<h1 class="form_title">产品信息</h1>
			<div class="form_body">
				<div class="prods_panel">
					<ul>
						<li ng-repeat="item in products">
							<div>
								<div class="form_item">
									<span class="form_key">产品名称</span>
									<input class="form_input" type="text" placeholder="产品名称" ng-model="item.name">
								</div>
								
								<div class="form_item">
									<span class="form_key">产品图片</span>
									<div>
										<ul>
											<li></li>
										</ul>
										<div>
											<img class="form_img_s" ng-click="selectImageFile();" ng-src="{{imageSrc}}"/>
											<input type="file" id="image_file" image-model="myFile" class="hide"/>
										</div>
									</div>
								</div>
								
								<div class="form_item">
									<span class="form_key">产品介绍</span>
									<textarea class="form_textarea" placeholder="输入产品介绍" ng-model="item.brief"></textarea>
								</div>
							</div>
							<div><span class="button">删除</span></div>
						</li>
					</ul>
				</div>
				
				<div class="prod_add_panel">
					<div>
						<div class="form_item">
							<span class="form_key">产品名称</span>
							<input class="form_input" type="text" placeholder="产品名称" ng-model="newProduct.name">
						</div>
						
						<div class="form_item">
							<span class="form_key">产品图片</span>
							<div>
								<ul>
									<li></li>
								</ul>
								<div>
									<img class="form_img_s" ng-click="selectImageFile();" ng-src="{{imageSrc}}"/>
									<input type="file" id="image_file" image-model="myFile" class="hide"/>
								</div>
							</div>
						</div>
						
						<div class="form_item">
							<span class="form_key">产品介绍</span>
							<textarea class="form_textarea" placeholder="输入产品介绍" ng-model="newProduct.brief"></textarea>
						</div>
					</div>
					<div><span class="button" ng-click="addProduct();">保存</span></div>
				</div>
			</div>
		</div>
		
		<div class="edit_member_panel form_panel">
			<h1 class="form_title">团队核心成员</h1>
			<div class="form_body">
				<div class="form_item">
					<span class="form_key">姓名</span>
					<input class="form_input" type="text" placeholder="产品名称">
				</div>
				
				<div class="form_item">
					<span class="form_key">职位</span>
					<input class="form_input" type="text" placeholder="项目名称">
				</div>
				
			</div>
			<span>新增成员</span>
		</div>
	</div>
</div>
